﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ebMS3dotnet.Core.Configuration
{
    class ProcessorElement:ConfigurationElement
    {
        [ConfigurationProperty("processorType", IsRequired = true, IsKey = true)]
        [TypeConverter(typeof(TypeNameConverter))]
        public Type ProcessorType
        {
            get { return (Type)base["processorType"]; }
        }

         [ConfigurationProperty("filterName", DefaultValue=null, IsRequired=true,IsKey=true)]
        public string FilterName
        {
            get { return (string)base["filterName"]; }
        }        
    }
}
